package com.wyc.apiPassenger.feign;

import com.wyc.internalCommon.response.NumberCodeResponse;
import com.wyc.internalCommon.result.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("service-verificationcode")
public interface VerificationCodeFeignClient {

    @RequestMapping("/numberCode/{size}")
    ApiResult<NumberCodeResponse> getNumberCode(@PathVariable("size") int size);

}
